package com.teacher.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.physicaleducationmajor.PhysicalEducationMajorGetDto;
import com.teacher.pojo.entity.PhysicalEducationMajor;
import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.pojo.vo.physicaleducationmajor.PhysicalEducationMajorGetVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 体育专业类体育成绩 服务类
 * </p>
 *
 * @author zfm
 * @since 2021-07-30
 */
public interface IPhysicalEducationMajorService extends IService<PhysicalEducationMajor> {

    /**
     * 查询非体育类专业体育课成绩
     *
     * @param dto
     * @return
     */
    CommonResult<IPage<PhysicalEducationMajorGetVo>> getPage(PhysicalEducationMajorGetDto dto);

    /**
     * 导入非体育类专业体育课成绩
     *
     * @param file
     * @return
     */
    CommonResult<String> upload(MultipartFile file);
}
